/* index 首页样式 */
.entry {
    height: 500px;
    background-color: #f5f5f5;
}
.container {
    
	overflow: hidden;
}


.banner {
    position: relative;
    height: 500px;
    background-color: pink;
}

.banner img{
    width: 1240px;
    height: 500px;
    background-color:#ccc;
    animation: switch 5s ease-out infinite;
}


@keyframes switch {
	0%, 50% {
		margin-left: -1024px;
	}
    50%,100%{
        margin-left: 0px;
    }
	

}

.prev,
.next {
    position: absolute ;
    top: 50%;
    margin-top: -22px;
    height: 45px;
    width: 45px;
    background: rgba(0,0,0,0.3) url(../images/sprites.png) no-repeat;
    border-radius: 50%;
}
.prev {
    left: 260px;
    background-position: 14px -59px;
}
.next {
    right: 10px;
    background-position: -22px -59px;
}
.circle {
    position: absolute;
    bottom: 30px;
    left :680px;
}
.circle li {
    float: left;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    margin-right: 15px;
    border-radius: 50%;
    cursor: pointer;
}
.circle .active {
    background: rgba(255,255,255,1);
}
.entry .container {
    position: relative;
}
.category {
    position: absolute;
    left: 0;
    top: 0;
    width: 251px;
    height: 500px;
    background: rgba(0,0,0,0.7);
}
.category a {
    display: block;
    width: 251px;
    height: 50px;
}
.category dl {
    position: relative;
    height: 50px;
    padding-left: 20px;
    color: white;
    line-height: 50px;
}
.category dl dt {
    float: left;
    margin-left: 20px;
}
.category dl::after
{
    content: "";
    position: absolute;
    right: 0;
    top:50%;
    margin: -8px 15px 0 0;
    display: inline-block;
    height: 15px;
    width: 15px;
    vertical-align: middle;
    background: url(../images/sprites.png) no-repeat -32px -108px;
}
.category dl dt:nth-child(2)
{
    font-size: 20px;
}
.entry .category dl:hover {
    background: #5eb69c;
} 
.box-hd {
    margin-top: 40px;
    height: 60px;
}
.box-hd h3 {
    float: left;
    font-size: 29px;
    font-weight: 400;
}
.box-hd h3 small {
    font-size: 13px;
    color: #999;
    margin-left: 20px;
}
.box-hd .more {
    float: right;
    font-size: 13px;
    margin-top: 20px;
}
.box-hd .more::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    margin-left: 5px;
    margin-top: -3px;
    vertical-align: middle;
    background: url(../images/sprites.png) no-repeat 0 -109px;
}
.box-bd {
    height: 408px;
}
.box-bd ul li {
    position: relative;
    top:0;
    float: left;
    width: 304px;
    height: 408px;
    margin-right: 8px;
    background: #f0f9f4;
    text-align: center;
    transition: all .2s;

}
.box-bd ul li:last-child {
    margin-right: 0;
}
.box-bd ul li img {
    width: 304px;
    height: 305px;
}
.box-bd ul li h4 {
    margin: 18px 0 15px 0;
    font-size: 20;
    font-weight: 400;
}
.box-bd ul li p {
    font-size: 17px;
    color: #9a2e1f;
}
.box-bd ul li p span {
    font-size: 20;
}
.box-bd .new {
     position: absolute;
     top: 18px;
     left: 16px;
     width: 29px;
     height: 51px;
     border: 1px solid #27ba9b;
     color: #27ba9b;
     font-size: 18px;
     line-height: 22px;
}
.box-bd ul li a {
    display: block;
    width: 100%;
    height: 100%;
}
.box-bd ul li:hover {
    top:-5px;
    box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
}
.box-bd ul li info {
    font-size: 13px;
    color: #999;
}
.purple .box-bd ul li {
    background-color: #fff;
}
.shengxian .box-hd ul {
    float: left;
    margin-top: 9px;
    margin-left: 635px;
}
.shengxian ul li {
    float: left;
}
.shengxian ul li a{
    padding: 0 12px;
}
.shengxian .box-hd ul li a:hover {
    background-color: #27ba9b;
    color: white;
}
.goods {
    height: 610px;
}
.goods-left {
    float: left;
    width: 240px;
    height: 610px;
}
.goods-right {
    
    float: left;
    width: 1000px;
    height: 610px;
}
.goods-left a img {
    width: 240px;
    height: 610px;
}
.goods .goods-right ul li {
    position: relative;
    float: left;
    width: 240px;
    height: 304px;
    margin-left: 10px;
    overflow: hidden;
    /* background: pink; */
    transition: all .3s;
    border: 2px solid transparent;
}
.goods .goods-right ul li a{
    display: block;
    width: 240px;
    height: 304px;
}
.goods .goods-right ul li:hover {
    border: 2px solid #27ba9b;
}
.goods .goods-right ul li:hover .find {
    bottom: 0;
}
.goods-right ul li img {
    width: 150px;
}
.goods-right .img-box {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.goods-right li h3 {
    margin:20px 20px;
    font-size: 18px;
    font-weight: 400;
}
.goods-right li p {
    margin-left: 20px;
    font-size: 20px;
    color: red;
}
.goods-right li p span {
    font-size: 16px;
}
.find {
    position: absolute;
    bottom: -87px;
    left: 0;
    width: 100%;
    height: 84px;
    padding: 19px 55px 0;
    text-align: center;
    background: #27ba9b;
    transition: all 0.5s;
    color: #fff;
}
.find h5 {
    font-size: 18px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 7px;
    font-weight: 400;
}
.find a p {
    color: #fff;
    font-size: 13px;
    margin: 0;
    padding: 0;
}
.goods .goods-right .find a {
    display: inline;
}


